package com.jia.blog.service;

import com.jia.blog.entity.Blog;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jiajia
 * @since 2020-12-02
 */
public interface BlogService extends IService<Blog> {

    Map getList(Integer pageNum, Integer pageSize);

    List<Blog> getListByCateId(Long cateId);

    List<Blog> getListByUserId(Long userId);
}
